package com.zuipin.mapper;

import org.apache.ibatis.annotations.Mapper;

import com.zuipin.entity.product.OverallEvaluation;

/**
 * 整体评价数据操作接口类
 *
 * @ClassName OverallEvaluationMapper 
 * @author wangcongyi
 * @date 2017年7月4日 下午4:54:23
 */
@Mapper
public interface OverallEvaluationMapper {
   
	int deleteByPrimaryKey(Long id);

    int insert(OverallEvaluation record);

    int insertSelective(OverallEvaluation record);

    OverallEvaluation selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(OverallEvaluation record);

    int updateByPrimaryKey(OverallEvaluation record);

    // 获取商城半年内动态评分
	OverallEvaluation getOverallEval(OverallEvaluation overall);

	// 更新整体评价状态
	boolean modifyState(OverallEvaluation overall);
}